package com.yanyu.space.sys.bean.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yanyu.space.common.core.bean.db.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 数据字典
 *
 * @author yanyu
 */
@Data
@TableName("sys_dic")
@ApiModel(value = "Dic对象", description = "数据字典")
public class Dic extends BaseEntity {

    @ApiModelProperty(value = "字典编码")
    private String code;

    @ApiModelProperty(value = "字典名称")
    private String name;

    @ApiModelProperty(value = "启用状态, 1：启用；0：禁用")
    private Integer enabled;

    @ApiModelProperty(value = "部门顺序， 由小到大")
    private Integer sort;

    @ApiModelProperty(value = "数据字典描述")
    private String remark;
}
